#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
void fun(int a)
{
	int b = 2;
	int c = 0;
	while (b < a)
	{
		if (a % b)
		{
			b++;
		}
		else
			break;
	}
	if (a == b)
	{
		printf("%d ", a);
	}
}
int main()
{
	int a = 101;
	while (a>100 && a<200)
	{
		fun(a);
		a++;
	}
	return 0;
}
